package com.imooc.api.controller.article;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 文章详情页静态化
 */
@RequestMapping("article/html")
public interface ArticleHTMLControllerApi {

    /**
     * 下载html
     */
    @GetMapping("download")
    Integer download(String articleId, String articleMongoId) throws Exception;

    /**
     * 删除html
     */
    @GetMapping("delete")
    Integer delete(String articleId) throws Exception;

}
